Website.eBay = function(n)
{
	this.name = "eBay"
	this.multiple = true;
	this.domexp_container = '.rs-oDiv+cm-bg'
	
	
	this.domexp_item = '.rs-iDiv+cm-br'
	this.rexp_item = '<table class="lvt"><tbody><tr>'+
					 '<td rowspan="2" class="lv-p140">(.*)</td>'+
					 '<td class="lv-desc-box lv-pl">(.*)</td>'+
					 '<td class="lv-bds">(.*)</td>'+
					 '<td class="lv-ps">(.*)</td>'+
					 '<td class="lv-tl">(.*)</td>'+
					 '</tr>'
					 
	this.rexp_values = ["img","url","data","data","data"]
	
	this.renderItem = function()
	{
		return "ala"
	};
	
	this.getUrl = function()
	{
		return "http://livres-bd.shop.ebay.fr/Livres-BD-Revues-/267/i.html?LH_TitleDesc=0&LH_PrefLoc=0&_nkw=full+metal+panic&_catref=1&_fln=1"
	};
	
	this.getPages = function(html)
	{
	};
	
	this.getExpForItem = function(dom)
	{
		
	};
	
	Website.implement(this);
};
/*
var page_ebay = Storage.get("page_ebay")
body = page_ebay.substring(page_ebay.indexOf("<body"),page_ebay.indexOf("</body>")+7)
head = page_ebay.substring(page_ebay.indexOf("<head"),page_ebay.indexOf("</head>")+7)

head2 = head.replace(/<link([^>]*)([^\/])>/g,"<link$1$2/>")
.replace(/<meta([^>]*)([^\/])>/g,"<meta$1$2/>")

body2 = body.replace(/<img([^>]*)([^\/])>/g,"<img$1$2/>")
*/

new Website.eBay();
